package com.appkubes.mall.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 手机验证码
 * @author Rongjie
 */
@Data
@TableName("mall_sms_code")
@KeySequence(value = "mall_sms_code_SEQ")
@ApiModel(value = "MallSmsCode对象")
public class MallSmsCode implements Serializable{

       private String appKey;

       @TableId(value = "code_key", type = IdType.UUID)
       private String codeKey;

       private String code;

       @ApiModelProperty(value = "电话")
       private String tel;

       @ApiModelProperty(value = "是否已用，1已用", example = "1")
       private Integer isUse;

       @ApiModelProperty(value = "验证码类型，0=注册", example = "1")
       private Integer type;

       private Integer createTime;

       private Integer updateTime;

}
